package com.wyw.design.model.learning.behavioral.emptyobject.observerpattern;

/**
 * @Title   具体对象
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 15:20
 * Update History:
 * Author        Time            Content
 */
public class ConcreteObject extends AbstractObject {
    public ConcreteObject(final String name) {
        this.name = name;
    }
    @Override
    String getName() {
        return this.name;
    }
    @Override
    boolean isNull() {
        return false;
    }
}
